<?php
$this->title = '个人中心';
$per_url = Yii::$app->params['imgurl'];
$this->registerCssFile('@web/css/dropload.css');
$this->registerCss('
    body{background: #f1f1f8;margin:0px;padding:0px;}
    p{color:#333}
    .mui-bar-nav {
        -webkit-box-shadow: unset;
        box-shadow: unset !important;
    }
    .myheader a{color:#333;}
    .zhanwei{width:100%;height:45px;}
   
');
?>
<div id="page-home" style="">

    <header id="myheader" class="mui-bar mui-bar-nav">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #333;"></a>
        <a href="#menu" class="mui-icon mui-action-menu mui-icon-bars mui-pull-right" style="color: #333;"></a>
        <h1 class="mui-title"><?=$this->title?></h1>
    </header>
    <div class="zhanwei"></div>

    <div class="sec-one" style="margin: 15px;background-color: #fff;box-shadow: 0 0 6px #fff;border-radius: 6px;padding: 15px;">
        <div style="display: flex">
            <div style="flex: 1;text-align: left;">
                <span class="glyphicon glyphicon-user" style="margin-right: 10px"></span>用户名
            </div>
            <div style="flex: 1;text-align: right;color:#666">
                <?=$ucenter->username?>
            </div>
        </div>
        <div style="display: flex;margin-top: 15px;">
            <div style="flex: 1;text-align: left;">
                <span class="glyphicon glyphicon-envelope" style="margin-right: 10px"></span>邮箱
            </div>
            <div style="flex: 1;text-align: right;color:#666">
                <?=$ucenter->email?>
            </div>
        </div>
        <div style="display: flex;margin-top: 15px;">
            <div style="flex: 1;text-align: left;">
                <span class="glyphicon glyphicon-time" style="margin-right: 10px"></span>会员到期时间
            </div>
            <div style="flex: 1;text-align: right;color:#666">
                <?php if($vip){?>
                    <?=$vip?>
                <?php }else{ ?>
                    <?php if($vip_model){ ?>
                        <?=date('Y-m-d H:i:s',$vip_model->expire_time);?>
                    <?php }else{ ?>
                        <a href="/touch/default/rechange" style="color:rgb(225, 124, 131);">去开通</a>
                    <?php }?>
                <?php }?>
            </div>
        </div>
    </div>

    <div class="sec-two" style="margin: 15px;padding: 15px;background-color: #fff;box-shadow: 0 0 6px #fff;border-radius: 6px;">
        <div style="display: flex">
            <div style="flex: 1">
                <span class="glyphicon glyphicon-retweet" style="margin-right: 10px"></span> 反馈中心
            </div>
            <div style="flex: 1;text-align: right;">
                <a href="/touch/default/feedback" style="display: block;width:100%;height:100%;color:#666">
                    <span class="glyphicon glyphicon-menu-right"></span>
                </a>
            </div>
        </div>

    </div>

</div>
<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
<script>

</script>

